package org.example.listener;

import com.google.common.eventbus.Subscribe;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * 事件总线侦听器
 *
 * @author Amadeus
 * @date 2025/05/22
 */
@Slf4j
@Component
public class EventBusListener {

    @Subscribe
    public void handle(String message) {
        log.info("Received message: {}", message);
    }

}
